<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
  <link rel="stylesheet" href="/css/a.css">
  <title><%= title %></title>
</head>
<body>
  <div class="app">
    <el-container>
      <el-header class="head">登录了吗?</el-header>
      <el-main class="main">
        <el-form :model="numberValidateForm" ref="numberValidateForm" label-width="100px" class="demo-ruleForm">
          <el-form-item
            label="账号"
            prop="name"
            :rules="[
              { required: true, message: '账号不能为空'},
              { type: 'string', message: '的说法是否对'}
            ]"
          >
            <el-input type="name" v-model.number="numberValidateForm.name" auto-complete="off"></el-input>
          </el-form-item>
          <el-form-item
            label="密码"
            prop="pass"
            :rules="[
              { required: true, message: '密码不能为空'},
              { type: 'number', message: '年龄必须为数字值'}
            ]"
          >
            <el-input type="pass" v-model.number="numberValidateForm.pass" auto-complete="off"></el-input>
          </el-form-item>
          <el-form-item>
            <el-button type="primary" @click="submitForm('numberValidateForm')">提交</el-button>
            <el-button @click="resetForm('numberValidateForm')">重置</el-button>
          </el-form-item>
        </el-form>
      </el-main>
    </el-container>
  </div>

  <script src="/js/vue.js"></script>
  <script src="/js/element.js"></script>
  <script src="/js/axios.js"></script>
  <script src="/js/a.js"></script>
</body>
</html>